Draft
Conversation
Migrates Pi imports from @mariozechner/* to @earendil-works/* and updates peer/dev dependencies to 0.74.0. Updates pi-utils-settings to 0.15.1, moves examples into /guardrails:examples, and keeps settings scope display compatible with current merged config values.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refactors guardrails into a split extension architecture:
src/core: Pi-free primitives and typed rule checks.src/shared: shared config, migrations, events, matching, warnings, and path helpers.extensions/guardrails: policy enforcement plus settings, onboarding, and examples commands.extensions/path-access: outside-workspace path access control.extensions/permission-gate: dangerous command confirmation.Also updates the package to Pi
0.74.0/@earendil-works/*, restores and reorganizes the TUI commands, adds focused tests for the split features, updates docs, and adds a local skill for building future guardrails extensions.User-facing changes
/guardrails:examplesfor applying policy and dangerous-command presets./guardrails:settingsas the main settings UI./guardrails:onboardingonly when onboarding is still pending.guardrails.json.Validation
pnpm typecheckpnpm lintpnpm test -- --runInBand/guardrails:settings/guardrails:examplesStill left before merge
Leaving this PR as draft until release prep is done.